
import layout from '@/views/model/module/Layout'
export default [
  {
    path: '/model',
    name: 'model',
    component: () => import('@/views/model/lis'),
    affiliation: 'main',
    meta: { title: '模型仓库', icon: 'icon5', name: 'model' },
  },
  {
    path: '/model/detail',
    name: 'modeldetail',
    component: () => import('@/views/model/detail'),
    // affiliation: 'main',
    meta: { title: '创建模型', icon: 'icon5', name: 'model' },
  },
  {
    path: '/model/versionsdetail',
    name: 'modelversionsdetail',
    component: () => import('@/views/model/versionsdetail'),
    // affiliation: 'main',
    meta: { title: '模型版本', icon: 'icon5', name: 'model' },
  },
  {
    path: '/model',
    name: 'model',
    component: layout,
    // affiliation: 'main1',
    meta: { title: '模型管理', icon: 'icon1', name: 'model' },
    children: [
      {
        path: 'code',
        name: 'modelcode',
        component: () => import('@/views/model/code'),
        meta: { 
          title: '概览',
          icon: 'nav-menu-icon1', 
          affiliation: "model" 
        }
      }
    ]
  },
]
